package com.raymond.entity.settlement;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.raymond.config.CustomerIntegerEnumDeserializer;
import com.raymond.config.CustomerIntegerEnumSerializer;
import com.raymond.entity.commons.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * desc-结算单审批类型枚举
 *
 * @author houmenghe
 * @date 2025/04/21 17:05
 **/
@Getter
@AllArgsConstructor
@JsonDeserialize(using = CustomerIntegerEnumDeserializer.class)
@JsonSerialize(using = CustomerIntegerEnumSerializer.class)
public enum OrderSettlementAuditTypeEnum implements BaseEnum {

    /**
     * 结算审批
     */
    SETTLE(0, "结算审批"),

    /**
     * 作废审批
     */
    INVALID(1, "作废审批"),

    /**
     * 调差审批
     */
    ADJUST(2, "调差审批"),

    /**
     * 统计审批
     */
    SUMMARY(3, "统计审批");

    private final Integer value;

    private final String desc;
}
